package example04;

public class FruitTest {

    public static void main(String[] args) {

        apple apple = new apple();
        apple.setName("昭通苹果");
        apple.setArea("昭通");
        apple.setPrice(5.5);
        System.out.println(apple);


        banana banana = new banana();
        banana.setName("香蕉");
        banana.setArea("普洱");
        banana.setPrice(3.5);
        System.out.println(banana);

        grape grape = new grape();
        grape.setName("阳光玫瑰");
        grape.setArea("新疆");
        grape.setPrice(10.0);
        System.out.println(grape);
    }
}

